package com.zy.web.demo.duoxiancheng.demo10;

/**
 * @author <a href="mailto:zhouyong@cqyyt.com">zy</a>
 * @version 1.0
 * @date 2020/8/3 15:06
 */
public class Thread10B extends Thread {

    private Sub sub;

    public Thread10B(Sub sub){
        super();
        this.sub = sub;
    }

    @Override
    public void run() {
        sub.Main();
    }
}
